﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using UricaoWeb.Presentacion;

public partial class _Default : API_Seguridad_Principal
{
    protected void Page_Load(object sender, EventArgs e)
    {
        var master = Master as MasterPage;
        if (master != null)
        {
            master.actualizar_label();
        }
        base.validar_usuario();
    }

    protected void cerrar_sesion(object sender, EventArgs e)
    {
        //nombrelogin.Text = "Login";
        Session["user"] = null;
        try
        {
            Server.Transfer("API_Seguridad_Login_.aspx", false);
        }
        catch { }
    }
}